<template>
	<view>
		<view class="banner"> </view>
		<uni-search-bar @confirm="search" @input="input" placeholder="搜索帖子..." />
		<cell />
        <up-button class="up-button" type="primary" shape="circle" icon="arrow-upward" />
	</view>
</template>

<script setup lang="ts">
	import cell from "@/components/index/cell.vue"
	import ToTopBtn from "@/components/index/ToTopBtn.vue"
	
	const search = (value) => {
		console.log(value)
        
	}
	const input = (value) => {
		console.log(value)
	}
</script>

<style scoped lang="scss">
	.banner {
		height: 200px;
		width: 100%;
		background-color: #000;
	}
    .up-button {
        height: 20px;
        width: 20px;
    }
</style>